package weaver.workflow.webservices;

public class WorkflowDetailTableInfo  {
	private String tableDBName;
	private cn.com.weaver.services.webservices.ArrayOfString tableFieldName;
	private String tableTitle;
	private ArrayOfWorkflowRequestTableRecord workflowRequestTableRecords;

	public WorkflowDetailTableInfo() {
	}

	public String getTableDBName() {
		return this.tableDBName;
	}

	public void setTableDBName(String tableDBName) {
		this.tableDBName = tableDBName;
	}

	public cn.com.weaver.services.webservices.ArrayOfString getTableFieldName() {
		return this.tableFieldName;
	}

	public void setTableFieldName(cn.com.weaver.services.webservices.ArrayOfString tableFieldName) {
		this.tableFieldName = tableFieldName;
	}

	public String getTableTitle() {
		return this.tableTitle;
	}

	public void setTableTitle(String tableTitle) {
		this.tableTitle = tableTitle;
	}

	public ArrayOfWorkflowRequestTableRecord getWorkflowRequestTableRecords() {
		return this.workflowRequestTableRecords;
	}

	public void setWorkflowRequestTableRecords(ArrayOfWorkflowRequestTableRecord workflowRequestTableRecords) {
		this.workflowRequestTableRecords = workflowRequestTableRecords;
	}

	private Object __equalsCalc = null;
	public synchronized boolean equals(Object obj) {
		if (!(obj instanceof WorkflowDetailTableInfo)) return false;
		WorkflowDetailTableInfo other = (WorkflowDetailTableInfo) obj;
		if (obj == null) return false;
		if (this == obj) return true;
		if (__equalsCalc != null) {
			return (__equalsCalc == obj);
		}
		__equalsCalc = obj;
		boolean _equals;
		_equals = true && 
			((this.tableDBName==null && other.getTableDBName()==null) || 
			 (this.tableDBName!=null &&
			  this.tableDBName.equals(other.getTableDBName()))) &&
			((this.tableFieldName==null && other.getTableFieldName()==null) || 
			 (this.tableFieldName!=null &&
			  this.tableFieldName.equals(other.getTableFieldName()))) &&
			((this.tableTitle==null && other.getTableTitle()==null) || 
			 (this.tableTitle!=null &&
			  this.tableTitle.equals(other.getTableTitle()))) &&
			((this.workflowRequestTableRecords==null && other.getWorkflowRequestTableRecords()==null) || 
			 (this.workflowRequestTableRecords!=null &&
			  this.workflowRequestTableRecords.equals(other.getWorkflowRequestTableRecords())));
		__equalsCalc = null;
		return _equals;
	}

	private boolean __hashCodeCalc = false;
	public synchronized int hashCode() {
		if (__hashCodeCalc) {
			return 0;
		}
		__hashCodeCalc = true;
		int _hashCode = 1;
		if (getTableDBName() != null) {
			_hashCode += getTableDBName().hashCode();
		}
		if (getTableFieldName() != null) {
			_hashCode += getTableFieldName().hashCode();
		}
		if (getTableTitle() != null) {
			_hashCode += getTableTitle().hashCode();
		}
		if (getWorkflowRequestTableRecords() != null) {
			_hashCode += getWorkflowRequestTableRecords().hashCode();
		}
		__hashCodeCalc = false;
		return _hashCode;
	}

}
